/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * VentanaPrincipal.java
 *
 * Created on 21/10/2011, 12:07:21 AM
 */
package aerodromo.view;

import aerodromo.util.thead.AnimacionDespegue;
import java.awt.Color;
import javax.swing.DefaultListModel;
import javax.swing.ImageIcon;


/**
 *
 * @author Oswaldo.C
 */
public class VentanaPrincipal extends javax.swing.JFrame {

    /** Creates new form VentanaPrincipal */
    public VentanaPrincipal() {
        initComponents();
        setLocationRelativeTo( null );
        getContentPane().setBackground(Color.LIGHT_GRAY);
        
       
        
        
        modeloEstacionamiento = new DefaultListModel();
        modeloEspera = new DefaultListModel();
        modeloPila = new DefaultListModel();
        
        lsEstacionamiento.setModel(modeloEstacionamiento);
        lsEspera.setModel( modeloEspera );
        lsPila.setModel(modeloPila);
        
        
        int randomNum = new java.util.Random().nextInt();
        if ( randomNum < 0 )
            randomNum *= -1;
        
        System.out.println(randomNum%8 + 1 );
        for ( int i = 0; i < randomNum%6 + 1; i++ ){
            modeloEstacionamiento.addElement(iconoAvion);
        }
        
       
        //modeloPila.addElement(iconoAvion);
        //modeloEspera.addElement(iconoAvion);
        
        //for ( int i = 0; i < 20; i++ )
        //   modeloEstacionamiento.addElement ( imagen );
        
        
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lbTitulo = new javax.swing.JLabel();
        lbEspera = new javax.swing.JLabel();
        lbPista = new javax.swing.JLabel();
        lbPila = new javax.swing.JLabel();
        lbLlegada = new javax.swing.JLabel();
        lbSalida = new javax.swing.JLabel();
        lbEstacionamiento = new javax.swing.JLabel();
        btnBitacora = new javax.swing.JButton();
        pnlControl = new javax.swing.JPanel();
        btnLlegada = new javax.swing.JButton();
        btnSalida = new javax.swing.JButton();
        btnRetirada = new javax.swing.JButton();
        lbLlegadas = new javax.swing.JLabel();
        lbSalidas = new javax.swing.JLabel();
        lbVuelos = new javax.swing.JLabel();
        lbPasajeros = new javax.swing.JLabel();
        lbVuelosLlegadas = new javax.swing.JTextField();
        lbPasajerosLlegadas = new javax.swing.JTextField();
        lbVuelosSalidas = new javax.swing.JTextField();
        lbPasajerosSalidas = new javax.swing.JTextField();
        jScrollPane1 = new javax.swing.JScrollPane();
        lsEstacionamiento = new javax.swing.JList();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jTextField1 = new javax.swing.JTextField();
        jTextField2 = new javax.swing.JTextField();
        jTextField3 = new javax.swing.JTextField();
        jScrollPane2 = new javax.swing.JScrollPane();
        lsPila = new javax.swing.JList();
        jScrollPane3 = new javax.swing.JScrollPane();
        lsEspera = new javax.swing.JList();
        jLabel5 = new javax.swing.JLabel();
        pnlPista = new aerodromo.view.PanelPista();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("Centro de Control de Aviones");
        setBackground(new java.awt.Color(204, 204, 255));
        setResizable(false);

        lbTitulo.setFont(new java.awt.Font("Vijaya", 1, 25)); // NOI18N
        lbTitulo.setText("Control de Operaciones del Aerodrómo Mérida");

        lbEspera.setText("Fila de avionetas en espera");

        lbPista.setText("PISTA");

        lbPila.setText("PILA (apoyo)");

        lbLlegada.setText("LLEGADA");

        lbSalida.setText("SALIDA");

        lbEstacionamiento.setText("Estacionamiento");

        btnBitacora.setText("VER BITÁCORA DE OPERACIONES");
        btnBitacora.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnBitacoraActionPerformed(evt);
            }
        });

        pnlControl.setBackground(new java.awt.Color(255, 102, 102));
        pnlControl.setBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(0, 0, 0)));

        btnLlegada.setText("Llegada");
        btnLlegada.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnLlegadaActionPerformed(evt);
            }
        });

        btnSalida.setText("Salida");
        btnSalida.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSalidaActionPerformed(evt);
            }
        });

        btnRetirada.setText("Retirada");

        lbLlegadas.setText("Llegadas");

        lbSalidas.setText("Salidas");

        lbVuelos.setText("Vuelos:");

        lbPasajeros.setText("Pasajeros:");

        lbVuelosLlegadas.setEditable(false);

        lbPasajerosLlegadas.setEditable(false);

        lbVuelosSalidas.setEditable(false);

        lbPasajerosSalidas.setEditable(false);

        javax.swing.GroupLayout pnlControlLayout = new javax.swing.GroupLayout(pnlControl);
        pnlControl.setLayout(pnlControlLayout);
        pnlControlLayout.setHorizontalGroup(
            pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlControlLayout.createSequentialGroup()
                .addGap(30, 30, 30)
                .addGroup(pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(btnRetirada, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnSalida, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(btnLlegada, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(18, 18, 18)
                .addGroup(pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lbVuelos)
                    .addComponent(lbPasajeros))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(lbPasajerosLlegadas, javax.swing.GroupLayout.DEFAULT_SIZE, 42, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                        .addComponent(lbVuelosLlegadas)
                        .addComponent(lbLlegadas)))
                .addGap(40, 40, 40)
                .addGroup(pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addComponent(lbVuelosSalidas, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(lbPasajerosSalidas, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(lbSalidas))
                .addGap(43, 43, 43))
        );
        pnlControlLayout.setVerticalGroup(
            pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(pnlControlLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(pnlControlLayout.createSequentialGroup()
                        .addGroup(pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbLlegadas)
                            .addComponent(lbSalidas))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbVuelos)
                            .addComponent(lbVuelosLlegadas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lbVuelosSalidas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(pnlControlLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbPasajeros)
                            .addComponent(lbPasajerosLlegadas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lbPasajerosSalidas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(pnlControlLayout.createSequentialGroup()
                        .addComponent(btnLlegada)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnSalida)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnRetirada)))
                .addContainerGap(27, Short.MAX_VALUE))
        );

        lsEstacionamiento.setBackground(new java.awt.Color(204, 255, 204));
        lsEstacionamiento.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        lsEstacionamiento.setToolTipText("");
        lsEstacionamiento.setLayoutOrientation(javax.swing.JList.HORIZONTAL_WRAP);
        lsEstacionamiento.setVisibleRowCount(1);
        jScrollPane1.setViewportView(lsEstacionamiento);

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 12)); // NOI18N
        jLabel1.setText("Avion Seleccionado");

        jLabel2.setText("Matricula:");

        jLabel3.setText("Combustible:");

        jLabel4.setText("Pasajeros:");

        jTextField1.setEditable(false);

        jTextField2.setEditable(false);

        jTextField3.setEditable(false);

        lsPila.setBackground(new java.awt.Color(102, 102, 102));
        jScrollPane2.setViewportView(lsPila);

        lsEspera.setBackground(new java.awt.Color(204, 255, 204));
        lsEspera.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        lsEspera.setToolTipText("");
        lsEspera.setLayoutOrientation(javax.swing.JList.HORIZONTAL_WRAP);
        lsEspera.setVisibleRowCount(1);
        jScrollPane3.setViewportView(lsEspera);

        jLabel5.setText("Tope");

        javax.swing.GroupLayout pnlPistaLayout = new javax.swing.GroupLayout(pnlPista);
        pnlPista.setLayout(pnlPistaLayout);
        pnlPistaLayout.setHorizontalGroup(
            pnlPistaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 108, Short.MAX_VALUE)
        );
        pnlPistaLayout.setVerticalGroup(
            pnlPistaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 508, Short.MAX_VALUE)
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(35, 35, 35)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jScrollPane3, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 707, Short.MAX_VALUE)
                                    .addComponent(jScrollPane1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 707, Short.MAX_VALUE)
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                        .addGap(15, 15, 15)
                                        .addComponent(lbLlegada)
                                        .addGap(244, 244, 244)
                                        .addComponent(lbEstacionamiento)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 246, Short.MAX_VALUE)
                                        .addComponent(lbSalida)
                                        .addGap(44, 44, 44))
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                        .addComponent(pnlControl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addGroup(layout.createSequentialGroup()
                                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                    .addComponent(jLabel3)
                                                    .addComponent(jLabel4)
                                                    .addComponent(jLabel2))
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                    .addComponent(jTextField3)
                                                    .addComponent(jTextField2)
                                                    .addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 175, Short.MAX_VALUE))
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 92, Short.MAX_VALUE))
                                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                                                .addComponent(jLabel1)
                                                .addGap(110, 110, 110))))
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                        .addGap(78, 78, 78)
                                        .addComponent(btnBitacora)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 432, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addGap(37, 37, 37))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(48, 48, 48)
                                .addComponent(lbEspera)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)))
                        .addGap(26, 26, 26)
                        .addComponent(pnlPista, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(8, 8, 8))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(lbPista)
                        .addGap(50, 50, 50)))
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(19, 19, 19)
                        .addComponent(lbPila))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(11, 11, 11)
                        .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(40, 40, 40))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(258, Short.MAX_VALUE)
                .addComponent(lbTitulo)
                .addGap(400, 400, 400))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addContainerGap(962, Short.MAX_VALUE)
                .addComponent(jLabel5)
                .addGap(65, 65, 65))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addGap(40, 40, 40)
                        .addComponent(lbTitulo)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(34, 34, 34)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(lbPila)
                                    .addComponent(lbPista))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(pnlPista, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                    .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 508, Short.MAX_VALUE)))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(78, 78, 78)
                                .addComponent(lbEspera)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 78, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(18, 18, 18)
                                .addComponent(lbEstacionamiento)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 79, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(29, 29, 29)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                        .addComponent(pnlControl, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(btnBitacora))
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                        .addGap(33, 33, 33)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(jLabel2)
                                            .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(jLabel3)
                                            .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(jLabel4)
                                            .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))))
                                .addGap(85, 85, 85))))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addGap(260, 260, 260)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lbLlegada)
                            .addComponent(lbSalida))
                        .addGap(103, 103, 103)
                        .addComponent(jLabel1)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel5)
                .addGap(25, 25, 25))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

private void btnBitacoraActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnBitacoraActionPerformed
   VentanaOperaciones ventanaLog = new VentanaOperaciones( this, true );   
}//GEN-LAST:event_btnBitacoraActionPerformed

private void btnLlegadaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnLlegadaActionPerformed
   VentanaLlegada ventanaLlegada = new VentanaLlegada( this, true ); 
   
   modeloEstacionamiento.addElement (iconoAvion);
}//GEN-LAST:event_btnLlegadaActionPerformed

private void btnSalidaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSalidaActionPerformed
   

    //retirar el avion hasta el frente de la lista del estacionamiento
    ////
    ////
    ////
    
    //Crea el hilo que reproduce el audio
    AnimacionDespegue animacion = new AnimacionDespegue( btnSalida , pnlPista ); //////Revisar
    Thread animacionThread = new Thread( animacion );
    animacionThread.start();
    
    
}//GEN-LAST:event_btnSalidaActionPerformed

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            @Override
            public void run() {
                new VentanaPrincipal().setVisible(true);
            }
        });
    }
    
    
    //icono del avion.gif
    private final ImageIcon iconoAvion = new ImageIcon(getClass().getResource("avion.gif"));      
    
    
    private DefaultListModel modeloEstacionamiento;
    private DefaultListModel modeloEspera;
    private DefaultListModel modeloPila;
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnBitacora;
    private javax.swing.JButton btnLlegada;
    private javax.swing.JButton btnRetirada;
    private javax.swing.JButton btnSalida;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JTextField jTextField1;
    private javax.swing.JTextField jTextField2;
    private javax.swing.JTextField jTextField3;
    private javax.swing.JLabel lbEspera;
    private javax.swing.JLabel lbEstacionamiento;
    private javax.swing.JLabel lbLlegada;
    private javax.swing.JLabel lbLlegadas;
    private javax.swing.JLabel lbPasajeros;
    private javax.swing.JTextField lbPasajerosLlegadas;
    private javax.swing.JTextField lbPasajerosSalidas;
    private javax.swing.JLabel lbPila;
    private javax.swing.JLabel lbPista;
    private javax.swing.JLabel lbSalida;
    private javax.swing.JLabel lbSalidas;
    private javax.swing.JLabel lbTitulo;
    private javax.swing.JLabel lbVuelos;
    private javax.swing.JTextField lbVuelosLlegadas;
    private javax.swing.JTextField lbVuelosSalidas;
    private javax.swing.JList lsEspera;
    private javax.swing.JList lsEstacionamiento;
    private javax.swing.JList lsPila;
    private javax.swing.JPanel pnlControl;
    private aerodromo.view.PanelPista pnlPista;
    // End of variables declaration//GEN-END:variables
}
